<?php

use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\ListView;
use app\models\Saleorder;


/* @var $this yii\web\View */
/* @var $model app\models\Idea */

$this->title = $model->phone;
$this->params['breadcrumbs'][] = ['label' => '订单', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="product-view">

    <h1><?= Html::encode($this->title) ?></h1>
    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'phone',
            'content',
            [
                'attribute' => 'created_at',
                'format' => ['date', 'php:Y-m-d']
            ],
            [
                'attribute' => 'updated_at',
                'format' => ['date', 'php:Y-m-d']
            ],
        ],
    ]) ?>

</div>
<?php $this->beginBlock('css')?>
<?=Html::cssFile('@hplus/css/style.min.css')?>
<?=Html::cssFile('@hplus/css/font-awesome.min.css?v=4.4.0')?>
<?php $this->endBlock();?>
